package ucd.csi.comp30220.fall2011.oteop.traffic;

import ucd.csi.comp30220.fall2011.oteop.traffic.impl.TrafficClient;

public class TrafficFinder {

	public static Traffic find(String name, long timeout) {
		try{
			return new TrafficClient(name, timeout);
		}
		catch(Exception ex){
			return null;
		}
	}
	
	public static Traffic find(String name){
		return find(name, 10*1000);
	}
}
